﻿#ifndef EXECSQLDLG_H
#define EXECSQLDLG_H

#include <QDialog>
#include <QLineEdit>
#include <QLabel>
#include <QPushButton>
#include <QGridLayout>
#include <QTextEdit>
class ExecSqlDlg : public QDialog
{
	Q_OBJECT

public:
	ExecSqlDlg(QWidget *parent);
	~ExecSqlDlg();
	QString& GetSqlText();

private slots:
	void Slot_ButtonOk();
	void Slot_ButtonCancel();
private:
	QString m_strEdit;

	QGridLayout *m_layOut;
	QLabel *m_labelSql;

	QTextEdit *m_editSql;
	QPushButton *m_buttonOk;
	QPushButton *m_buttonCancel;
};

#endif // EXECSQLDLG_H
